export const setter = [
  {
    key: "basicProps",
    label: "基本属性",
    children: [
      // {
      //   name: "type",
      //   label: "按钮类型",
      //   type: "select",
      //   options: [
      //     { label: "主按钮", value: "primary" },
      //     { label: "次按钮", value: "default" },
      //     { label: "虚线按钮", value: "dashed" },
      //     { label: "链接按钮", value: "link" },
      //     { label: "文字按钮", value: "text" },
        
      //   ],
      // },
      {
        name: "color",
        label: "颜色",
        type: "radio",
        options: [
          { label: "默认", value: "default" },
          { label: "主色", value: "primary" },
          { label: "危险", value: "danger" },
        ],
      },
      {
        name: "variant",
        label: "按钮变体",
        type: "radio",
        options: [
          { label: "边线", value: "outlined" },
          { label: "虚线", value: "dashed" },
          { label: "填充", value: "solid" },
          { label: "浅色", value: "filled" },
          { label: "文本", value: "text" },
          { label: "链接", value: "link" },
        ],
      },
      {
        name: "size",
        label: "尺寸",
        type: "radio",
        options: [
          { label: "大", value: "large" },
          { label: "中", value: "middle" },
          { label: "小", value: "small" },
        ],
      },
      {
        name: "text",
        label: "文本",
        type: "input",
      },
    ],
  },
];

export const events = [
  {
    name: "onClick",
    label: "点击事件",
  },
  {
    name: "onDoubleClick",
    label: "双击事件",
  },
];

export const basicStyleSetter = [
  {
    name: "width",
    label: "宽度",
    type: "inputNumber",
  },
  {
    name: "height",
    label: "高度",
    type: "inputNumber",
  },
];
